package handler;

//TODO：管理员发布管理授权码

import mysql.Conn;

import java.sql.SQLException;

public class Manager {
    public static String Default_Address(){
        return "";
    };
    //TODO:自动添加授权码
    public static void automatic(String path){
        mysql.TestExcel2.add(path);
    }

    //TODO:手动添加授权码

    public static boolean byHande(String au, int level) throws SQLException {
        Conn conn = new Conn();
        conn.getConn();
        boolean ok = conn.insert_code(au,level);
        return ok;

    }




}
